package com.medaxis.hpams.sso.mapper;


import com.medaxis.hpams.sso.domain.DictData;
import com.medaxis.hpams.sso.domain.dto.DictDataDto;
import com.medaxis.hpams.sso.domain.dto.DictTypeDto;

import java.util.List;

/**
 * 字典数据Mapper接口
 * @date 2021-08-19
 */

public interface DictDataMapper
{

    List<DictDataDto> selectDictDataList(DictDataDto dictDataDto);

    DictDataDto selectDictDataById(Long id);

    List<DictDataDto> selectDictDataByType(String dictType);

    int insertDictData(DictDataDto dictDataDto);

    int updateDictData(DictDataDto dictDataDto);

    int deleteDictDataByIds(Long[] ids);

    int countByDictType(String dictType);
}
